﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using RoadTeam.Model.CS;
using RoadTeam.Enums;
using RoadTeam.Model;
using RoadTeam.SysInterface;

namespace RoadTeam.CsSystem.CS
{
    public class CsAcceptItem : ICsAcceptItem
    {

        public DataTable GetEmptyDataFromSystem()
        {
            SqlWhere where = new SqlWhere();
            where.Info = new 客服_收楼项目() {ID = "-1" };
            where.SelectColumn = @" ID,收楼维修id,项目id,APP标识量,项目名称,项目内容,是否合格,收楼说明 ";
            return 客服_收楼项目.Select(where, GlobalConfig.RtConnectionString);
        }


        public bool InsertDataTableToSysTem(DataTable dt)
        {
            return 客服_收楼项目.InsertDatatable(dt, GlobalConfig.RtConnectionString);
        }



    }
}
